package net.dopan.pigframe.demo.service.impl.ribbon;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.web.client.RestTemplate;

@Service
public class UserServiceRibbon {

    @Autowired
    RestTemplate restTemplate;
    public String getIdentityVerification(String userId) {
        String str = restTemplate.getForObject("http://USERCENTER/user/getIdentityVerification?userId="+userId,String.class);
        return str;
    }
}
